:root {
   --primary: #B39755;
    --primary-light: #C9B280;
    --primary-dark: #8C6F3E;
    --light: #f8f9fa;
    --dark: #212529;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9fbfd;
    color: var(--dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    font-weight: 700;
}
/* Modern Navbar System */
.navbar {
  --gold-primary: #c5a338;
  --gold-hover: rgba(197, 163, 56, 0.12);
  --gold-active: rgba(197, 163, 56, 0.18);
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 12px 5%;
  transition: 
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    background 0.4s ease;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.86);
}

.navbar-brand {
  font-weight: 800;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--text-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.navbar-brand:hover {
  color: var(--gold-primary);
}

.navbar-brand:hover::after {
  width: 100%;
}

.navbar-nav {
  gap: 4px;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--text-secondary);
  padding: 10px 18px;
  transition: 
    color 0.25s ease,
    background 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.2s ease;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-primary);
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-nav .nav-link:hover {
  color: var(--text-primary);
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  color: var(--gold-primary) !important;
  font-weight: 700;
  background: var(--gold-active);
  box-shadow: inset 0 0 0 1px rgba(197, 163, 56, 0.25);
}

.navbar-nav .nav-link.active::before {
  transform: scaleY(0.05);
}

/* Dynamic scroll effects */
.navbar.scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 8px 5%;
  background-color: rgba(255, 255, 255, 0.96);
}
/* Dropdown menu styling */
.navbar .dropdown-menu {
  background-color: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  min-width: 240px;
  transition: all 0.3s ease-in-out;
}

.navbar .dropdown-menu .dropdown-item {
  padding: 10px 20px;
  color: rgb(255, 157, 0);
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background-color: rgb(255, 243, 220);
  color: #000;
  font-weight: 600;
  border-left: 4px solid rgb(255, 157, 0);
}

/* Dropdown arrow */
.navbar .nav-link.dropdown-toggle::after {
  border-top-color: rgb(255, 157, 0);
  margin-left: 6px;
}

/* Scrolled navbar dropdown behavior */
#navbar.scrolled .dropdown-menu .dropdown-item {
  color: #000;
}

#navbar.scrolled .dropdown-menu .dropdown-item:hover {
  background-color: rgb(255, 236, 202);
  color: rgb(255, 157, 0);
}

/* Fade-in dropdown animation */
.dropdown-menu {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.show > .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Mobile specific tweaks */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #fff;
    border-radius: 0 0 12px 12px;
    padding: 1rem;
  }

  .navbar .nav-link,
  .navbar .dropdown-menu .dropdown-item {
    color: #000 !important;
  }

  .navbar .dropdown-menu {
    box-shadow: none;
    border-radius: 0;
    padding-left: 1rem;
  }

  .navbar .dropdown-menu .dropdown-item {
    padding: 8px 0;
    border-left: 3px solid transparent;
  }

  .navbar .dropdown-menu .dropdown-item:hover {
    background-color: transparent;
    color: rgb(255, 157, 0);
    border-left-color: rgb(255, 157, 0);
  }
}
/* Mobile enhancements */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 7%;
    backdrop-filter: none;
    background-color: #fff;
  }
  
  .navbar-nav {
    gap: 2px;
    padding: 8px 0;
  }
  
  .navbar-nav .nav-link {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 4px 0;
  }
  
  .navbar.scrolled {
    padding: 8px 7%;
  }
}
.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(120deg, rgba(13, 74, 150, 0.9) 0%, rgba(179, 151, 85, 0.85) 100%),
        url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: white;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, transparent 20%, rgba(0, 0, 0, 0.15) 100%);
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.search-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.search-bar {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-bar input {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50px 0 0 50px;
    padding: 15px 25px;
    height: 60px;
    font-size: 1.1rem;
    box-shadow: none;
}

.search-bar input:focus {
    box-shadow: 0 0 0 0.25rem rgba(179, 151, 85, 0.25);
}

.search-bar .btn {
    border-radius: 0 50px 50px 0;
    padding: 15px 30px;
    height: 60px;
    font-size: 1.1rem;
    background: var(--secondary);
    border: none;
    font-weight: 500;
    transition: var(--transition);
}

.search-bar .btn:hover {
    background: #9c8248;
    transform: translateY(-2px);
}

.suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
    z-index: 100;
    display: none;
    overflow: hidden;
}

.suggestion-item {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: var(--transition);
}

.suggestion-item:hover {
    background: #f5f7ff;
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* Stats Section */
.stats-section {
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #eef2f7;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    background: rgba(13, 74, 150, 0.1);
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 10px 0;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    color: var(--gray);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Featured Resource */
.featured-resource {
    background: linear-gradient(120deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(13, 74, 150, 0.3);
    margin-bottom: 3rem;
    position: relative;
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg);
    transition: var(--transition);
}

.featured-resource:hover {
    transform: perspective(1000px) rotateX(0) rotateY(0);
}

.featured-content {
    padding: 40px;
    position: relative;
    z-index: 2;
}

.badge-custom {
    background: var(--secondary);
    color: white;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.featured-resource h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-resource p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.featured-image {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.featured-image img {
    max-height: 220px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
}

.featured-resource:hover .featured-image img {
    transform: translateY(-5px);
}

.featured-resource::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230a3268' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.2;
}

/* Resource Categories */
.resource-category .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    background: white;
    border-top: 4px solid var(--primary);
}

.resource-category .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: white;
    color: var(--primary);
    font-weight: 700;
    padding: 20px 25px;
    border-bottom: 1px solid #eef2f7;
    font-size: 1.2rem;
}

.card-header i {
    color: var(--secondary);
    margin-right: 10px;
}

.list-group-item {
    border: none;
    padding: 15px 25px;
    font-size: 1.05rem;
    color: var(--dark);
    transition: var(--transition);
    border-bottom: 1px solid #f0f4f9;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background: #f8faff;
    padding-left: 30px;
}

.list-group-item i {
    width: 25px;
    text-align: center;
    margin-right: 10px;
}

.card-footer {
    background: white;
    border-top: 1px solid #eef2f7;
    padding: 15px 25px;
}

/* Training & Development */
.training-section .card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: none;
    transition: var(--transition);
    height: 100%;
}

.training-section .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.training-icon {
    font-size: 2.5rem;
    color: var(--primary);
    background: rgba(13, 74, 150, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    flex-shrink: 0;
}

.progress {
    height: 10px;
    border-radius: 5px;
    background: #e9ecef;
    margin: 20px 0;
}

.progress-bar {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    border-radius: 5px;
}

.badge-new {
    background: var(--info);
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 30px;
}
/* Animation for stats */
@keyframes countUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.stat-number.animated {
    animation: countUp 1s ease forwards;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .featured-content {
        padding: 25px;
    }

    .featured-resource h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .search-bar input,
    .search-bar .btn {
        height: 50px;
        font-size: 1rem;
    }
}
.footer-dark {
    background-color: var(--dark); /* fixed dark color for footer */
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark, #d1a845));
}

/* ========== Social Icons ========== */
.social-icon {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary, #e7c873);
    color: var(--secondary, #1e1e2f);
    transform: translateY(-5px);
}

/* ========== Highlighted Text ========== */
.highlight {
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(231, 200, 115, 0.3);
    z-index: -1;
    transform: skewX(-15deg);
}

/* ========== Scroll Animations ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Custom Utility Classes ========== */
.bg-custom-light {
    background-color: var(--light, #f8f9fa) !important;
}

.bg-deep-blue {
    background-color: var(--secondary, #1e1e2f);
}

.ptb-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.mb-6 {
    margin-bottom: 5rem !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

/* ========== Navbar ========== */
.navbar-nav {
    align-items: center;
}

/* ========== Responsive Fixes ========== */
@media (max-width: 768px) {
    .display-title {
        font-size: 2.8rem;
    }

    .hero-section {
        padding: 120px 0 80px;
    }

    .stats-number {
        font-size: 2.8rem;
    }

    .stats-section {
        padding: 40px 20px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .navbar-collapse {
        background-color: #fff;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .stats-item {
        padding: 20px 15px;
    }
}

